<div class="wrap">

{if $shippingmethod_message != null}
	<div id="ajaxResponse1" class="ajaxResponse fade" style="display:block">{$shippingmethod_message}</div>
{else}
	<div id="ajaxResponse1" class="ajaxResponse"></div>
{/if}
<h2>Edit Shipping Method</h2>
<form name="editshippingmethod" id="editshippingmethod" method="post" 
	action="?module={$smarty.get.module}&sub1={$smarty.get.sub1}&act=editshippingmethod&id={$smarty.get.id}">
	<input type="hidden" name="act" value="editshippingmethod" />
	<table class="adminform" width="100%" cellspacing="2" cellpadding="5">
		<tr>
			<th width="33%" scope="row" valign="top">
			<label for="code">{TranslateTag}B_LABEL_CODE{/TranslateTag}:</label></th>
			<td width="67%">
			<input name="code" id="code" type="text" value="{$SHIPPINGMETHOD->code}" size="50" /></td>
		</tr>
		<tr>
			<th width="33%" scope="row" valign="top">
			<label for="name">{TranslateTag}B_LABEL_NAME{/TranslateTag}:</label></th>
			<td width="67%">
			<input name="name" id="name" type="text" value="{$SHIPPINGMETHOD->name}" size="50" /></td>
		</tr>
		<tr>
			<th width="33%" scope="row" valign="top">
			<label for="delivery_cost">{TranslateTag}B_LABEL_COST{/TranslateTag}:</label></th>
			<td width="67%">
			<input name="delivery_cost" id="delivery_cost" type="text" value="{$SHIPPINGMETHOD->delivery_cost}" size="50" /></td>
		</tr>
		<tr>
			<th scope="row" valign="top">
			<label for="currencies_id">{TranslateTag}B_LABEL_CURRENCY{/TranslateTag}</label></th>
			<td>
	  			<select name='currency_id' id='currency_id' class='postform'>
		  			{foreach name=currency from=$CURRENCY item=item}
						<option id='{$item->currency_id}' {if $SHIPPINGMETHOD->currency_id eq $item->currency_id}selected{/if} value='{$item->currency_id}'>
						{$item->code}
					</option>
					{/foreach}
				</select>
	  		</td>
		</tr>
		<tr>
			<th width="33%" scope="row" valign="middle">
			<label for="status">{TranslateTag}B_LABEL_DISPLAY{/TranslateTag}</label></th>
			<td width="67%">
				{if $SHIPPINGMETHOD->status == "1"}
					<input checked name="status" id="status" type="checkbox" value="1"/>
				{else}
					<input name="status" id="status" type="checkbox" value="0"/>
				{/if}
			</td>
		</tr>
	</table>
	<p class="submit" align = "right">
		<input type="image" name="submit" src="../view/admin/images/object_save.png" value="" />
	</p>
</form>

</div>  